package com.bsoft.gol.hbs.service;


import ctd.controller.exception.ControllerException;
import ctd.util.annotation.RpcService;
import hcn.base.BaseModuleConfig;
import hcn.base.BasePropertyConfig;

import java.util.List;

public interface BaseLevelConfigService {

    @RpcService
    void saveBaseModuleConfig(BaseModuleConfig baseModuleConfig) throws ControllerException;

    @RpcService
    List<BaseModuleConfig> queryAllModuleConfig(String objectId, String moduleId) throws ControllerException;

    @RpcService
    void initBaseModuleConfig(String orgId) throws ControllerException;

    @RpcService
    void initBl() throws ControllerException;

    @RpcService
    BasePropertyConfig getPropertyConfigByPropertyCode(String propertyCode, String objectId);

    @RpcService
    List<BasePropertyConfig> queryPropertyConfigList(String objectId, List<String> propertyCodes) throws ControllerException;

    @RpcService
    List<BasePropertyConfig> queryPropertyConfigByModuleId(String objectId,String moduleId) throws Exception;

}